@import url(./modal.scss);

.modal {
    z-index: 99;
    position: fixed;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;

    &.is-fl {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 100%;
    }

    &.is-center {
        margin: auto 0;
        padding: 16px 48px;
        //max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        // pointer-events: none;
        // will-change: transform;
    }

    .content-wrp {
        transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);

        background-color: var(--modal-content-background);
    }

    &.is-show {
        opacity: 1;

        .content-wrp {
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }


}
